<?php

declare(strict_types=1);

namespace app\seller\model;

use app\shop\model\Shop;

class Store extends Shop
{

    protected $name = 'shop_store';

    // 追加属性
    protected $append = [
        'type_text',
        'status_text'
    ];


    /**
     * 默认状态列表
     *
     * @return array
     */
    public function typeList()
    {
        return [
            '1' => '电商商家',
            '2' => '团购商家',
            '3' => '外卖商家',
        ];
    }


    /**
     * 默认状态列表
     *
     * @return array
     */
    public function statusList()
    {
        return [
            'normal' => '正常',
            'close' => '停业',
        ];
    }
    
}
